package com.demo.exetion;

import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class MainExection extends Exception {
    private Integer code;
    private String msg;

    public MainExection(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
